package StudyCode.summary.Basic;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class NestedBlocks {
	public static void main(String[] arg) {

		boolean x = false;

		if (x) System.out.println("x is true");
		else System.out.println("x is false");

		int i = 3;
		int j = 4;

		System.out.println("i=" + i + " j=" + j);

		{
			// Cannot redefine a variable i here
			int ii = 5;
			j++;
			i--;
		}

		System.out.println("i=" + i + " j=" + j);
		// Cannot access variable ii here
	}
}
